package com.demo.hystrxiDashboard;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * Author by admin, Email xx@xx.com, Date on 2020/6/2.
 * PS: Not easy to write code, please indicate.
 */
@SpringBootApplication
@EnableTurbine //开启turbine
@EnableHystrixDashboard   // 开启Hystrix仪表盘功能
public class hystrxidashboardApplication {
    public static void main(String[] args) {
        SpringApplication.run(hystrxidashboardApplication.class,args);
    }
}
